package com.objetdirect.gwt.umldrawer.client;

import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class ProjectPageContent implements PageContent{

	private VerticalPanel mainPanel = new VerticalPanel() ;
	private HorizontalPanel toolbarPanel = new HorizontalPanel() ;
	private HorizontalPanel browsePanel = new HorizontalPanel() ;
	private VerticalPanel project_Notification_Panel = new VerticalPanel() ;
	private VerticalPanel umlDrawer_Chat_Pabel = new VerticalPanel() ;
	private VerticalPanel dragAndDropPanel = new VerticalPanel() ;

	@Override
	public void setPageContent() {
		// TODO Auto-generated method stub
		
		toolbarPanel.setBorderWidth(2);
		toolbarPanel.setSize("800px", "100px");
		
		browsePanel.setBorderWidth(2);
		
		project_Notification_Panel.setBorderWidth(2);
		
		umlDrawer_Chat_Pabel.setBorderWidth(2);

		dragAndDropPanel.setBorderWidth(2);
		
		browsePanel.add(project_Notification_Panel);
		browsePanel.add(umlDrawer_Chat_Pabel);
		browsePanel.add(dragAndDropPanel);
		
		mainPanel.add(toolbarPanel);
		mainPanel.add(browsePanel);
	}

	@Override
	public VerticalPanel getPageContent() {
		// TODO Auto-generated method stub
		setPageContent() ;
		return mainPanel;
	}
}
